<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>更新用户</title>
</head>
<body>
<form th:action="@{/updateUser}" method="post" >

    <span>ID:&nbsp;</span><input type="text" name="id"  th:value="${user.id}" style="display: none" /><br/>
    <span>姓名:&nbsp;</span><input type="text" name="name" th:value="${user.name}"/><br/>
    <span>年龄:&nbsp;</span><input type="text" name="age" th:value="${user.age}"/><br/>
    <span>密码:&nbsp;</span><input type="text" name="password" th:value="${user.password}"/><br/>
    <span>性别:&nbsp;</span><input type="text" name="sex" th:value="${user.sex}"/><br/>
    <span>邮箱:&nbsp;</span><input type="text" name="email" th:value="${user.email}"/><br/>
    <input type="submit" value="修改" />
    <input type="reset" value="重置" />

</form>
</body>
</html>